<template>
	<view>
		
		<block v-for="(item, index) in info" :key="index">
		<view class="problem_box">
			<view class="title">
				<view class="text">{{item.title}}</view>
				<view class="arrow iconfont">&#xe665;</view>
			</view>
			<view class="content">{{item.content}}</view>
		</view>
		</block>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:[
					{
						title:'这里是标题这里是标题这里是标题这里是标题这里是标题',
						content:'这里是内容这里是内容这里是内容这里是内容这里是内容'
					},
					{
						title:'这里是标题这里是标题这里是标题这里是标题这里是标题',
						content:'这里是内容这里是'
					},
					{
						title:'这里是标题这里是标题这里是标题这里是标题这里是标题',
						content:'这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内3434343434343容这里是内容这里是内容'
					},
					{
						title:'这里是标题这里是标题这里是标题这里是标题这里是标题',
						content:'这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内3434343434343容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内容这里是内'
					}
				]
			};
		}
	}
</script>

<style>
	.problem_box{
		width: 90%;
		margin: 0 auto;
		background-color: #fff;
		border-radius: 6px;
		margin-top: 5%;
	}
	
	.problem_box .title{
		width: 100%;
		height: 40px;
		border-bottom: 1px solid #f5f5f5;
		position: relative;	
	}
	
	.problem_box .title .text{
		line-height: 40px;
		font-size: 14px;
		color: #333;
		position: absolute;
		left: 10px;
		width: calc(100% - 70px);
		overflow: hidden;
		text-overflow:ellipsis;
		white-space: nowrap;
	}
	
	.problem_box .title .arrow{
		line-height: 40px;
		font-size: 5vw;
		color: #666;
		position: absolute;
		right: 10px;
	}
	
	.problem_box .content{
		width: 100%;
		padding: 10px;
		font-size: 10px;
		color: #666;
		line-height: 20px;
		word-break: break-word;
	}
	
	
	
</style>
